package com.talios.jira.browser;

import com.intellij.openapi.diagnostic.Logger;
import com.intellij.openapi.project.Project;
import com.intellij.openapi.wm.ToolWindow;

import javax.swing.*;

public class JiraMonitorPanel {
    private static final Logger LOGGER = Logger.getInstance("Jira Browser");

    private Project project;
    private ToolWindow toolWindow;
    private JTabbedPane tabs;

    /**
     * @jira INTPLUG-4 Support for Multiple Projects
     */
    public JiraMonitorPanel(Project project) {

        LOGGER.info("jira - monitor panel creation");

        this.project = project;

        //        tabs.add("In Progress", new IssueBrowserPanel(project, new InProgressFeedBuilder()).getMainPanel());
        //        tabs.add("Outstanding", new IssueBrowserPanel(project, new UnresolvedIssuesFeedBuilder()).getMainPanel());

    }

    public JTabbedPane getTabs() {
        return tabs;
    }

    public ToolWindow getToolWindow() {
        return toolWindow;
    }

    public void setToolWindow(ToolWindow toolWindow) {
        this.toolWindow = toolWindow;
    }

}
